﻿package com.ease.platform.workbench.service
{
	import com.obas.flex.common.proxy.DefaultServiceProxy;

	public class WorkbenchManagementService extends DefaultServiceProxy
	{
    	private static const SERVICE_NAME:String = "workbenchManagementService";

  		public function WorkbenchManagementService() {
     		super(SERVICE_NAME);
  		}

		/**
    */
		public function 
			/* flex: mx.collections.ArrayCollection */ 
			/* java: java.util.List */
		findCoolPerspectives(
 			callback:Function = null,
 			context:Object = null
 			):void {
    		callService("findCoolPerspectives", [], callback, context);
 		}

		/**
    */
		public function 
			/* flex: mx.collections.ArrayCollection */ 
			/* java: java.util.List */
		findCoolViews(
 			callback:Function = null,
 			context:Object = null
 			):void {
    		callService("findCoolViews", [], callback, context);
 		}

		/**
    * 根据透视图找对应的工具条
    * 
    */
		public function 
			/* flex: mx.collections.ArrayCollection */ 
			/* java: java.util.List */
		findCoolBarsByPerspectiveViewCode(
 			code:String  /* java.lang.String */,
 			callback:Function = null,
 			context:Object = null
 			):void {
    		callService("findCoolBarsByPerspectiveViewCode", [code], callback, context);
 		}

		/**
    * 根据透视图找对应的主菜单
    * 
    */
		public function 
			/* flex: mx.collections.ArrayCollection */ 
			/* java: java.util.List */
		findMainMenusByPerspectiveViewCode(
 			code:String  /* java.lang.String */,
 			callback:Function = null,
 			context:Object = null
 			):void {
    		callService("findMainMenusByPerspectiveViewCode", [code], callback, context);
 		}
	}
}